#define _CRT_SECURE_NO_WARNINGS 1

#include"Tetris.h"

void env()
{
	setlocale(LC_ALL, "");

	system("color 70");

	srand((unsigned int)time(NULL));

}

void game()
{
	Tetris t = { 0 };

	GameInit(&t);

	GameRun(&t);

	GameEnd(&t);
}

int main()
{
	env();

	game();

	SetPos(30, 30);//为了不把我的游戏界面覆盖

	return 0;
}